home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Present…ry 5: (Reseller Edition) / Apple Reference & Presentations Library 5.0 (Reseller Edition).iso / 5-Fonts & Software / Applications / Aldus PageMaker 3.02 / APDs / LaserWriter Plus.apd < prev    next >
Text File  |  1988-11-20  |  9KB  |  222 lines

  1. @Comment: "LaserWriter Plus.apd" for original Apple LaserWriter Plus printer.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   3.3  $
  4. @Comment:     $Date:   25 Feb 1988 16:56:16  $
  5. @Comment: This APD produced for use with Aldus PageMaker 2.0, 2.0a, and 3.0
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(LaserWriter Plus)"
  10. @PSVersion: "(37.0)"
  11. @PSRevision: "1"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @FreeVM: "170000"
  20. @WorkingMem: "25000"
  21. @AldusHeaderMem: "34000"
  22. @Comment: Example of declaration of a downloadable font's memory requirement:
  23. @Comment: @FontMem "Benjo-Light": "82600"
  24.  
  25. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  26. @PatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  27. @AldusPatchFile: ""
  28. @ExitServer: "serverdict begin exitserver "
  29. @Password: "0"
  30.  
  31. @DefaultScreenFreq: "60"
  32. @DefaultScreenAngle: "45"
  33. @DefaultScreenProc: "{dup mul exch dup mul add sqrt 1 exch sub}"
  34.  
  35. @ScreenFreq: ""
  36. @ScreenAngle: ""
  37. @ScreenProc: ""
  38.  
  39. @InvertScreenProc: "{dup mul exch dup mul add 1 sub}"
  40. @Transfer: ""
  41. @InvertTransfer: "{1 exch sub}"
  42.  
  43. @NormalizedTransfer: "{
  44. mark
  45. 1.0 1.0 .98 .9 .82 .68 .56 .48 .28 .1 .06 .0
  46. counttomark dup 3 add -1 roll exch
  47. 2 sub mul dup floor cvi
  48. dup 3 1 roll sub
  49. exch dup 
  50. 3 add index exch 2 add index dup
  51. 4 1 roll
  52. sub mul add
  53. counttomark 1 add 1 roll 
  54. cleartomark
  55. } bind"
  56. @End
  57.  
  58. @InvertNormalizedTransfer: "{
  59. mark
  60. .0 .0 .06 .1 .28 .48 .56 .68 .82 .9 .98 1.0
  61. counttomark dup 3 add -1 roll exch
  62. 2 sub mul dup floor cvi
  63. dup 3 1 roll sub
  64. exch dup 
  65. 3 add index exch 2 add index dup
  66. 4 1 roll
  67. sub mul add
  68. counttomark 1 add 1 roll 
  69. cleartomark
  70. } bind"
  71. @End
  72.  
  73. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  74. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  75. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  76. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  77. @?OutputOrder: "pagestackorder {(facedown)}{(faceup)} ifelse = flush"
  78. @Comment: Paper tray query compares returned value with selected PageSize,
  79. @Comment:    up to length of returned value only: i.e, "A4" matches "A4small"
  80. @?PaperTray: "mark () statusdict /printerstatus known {
  81. userdict /T statusdict /printerstatus get exec 16#07E and put 
  82.  T 2 eq {(A4)} if T 8 eq {(Letter)} if T 24 eq {(Legal)} if} if 
  83.  = flush cleartomark"
  84. @End
  85.  
  86. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  87. @DefaultPageSize:        "Letter"
  88. @PageSize Letter:        "letter"
  89. @PageSize Lettersmall:    "lettersmall"
  90. @PageSize A4:            "a4"
  91. @PageSize A4small:        "a4small"
  92. @PageSize B5:            "b5"
  93. @PageSize Legal:        "legal"
  94.  
  95. @Comment: PageRegion gives the printable area of each paper option.
  96. @PageRegion Letter:         "18 7.92 594 784.08"
  97. @PageRegion Lettersmall:     "29.52 30.24 582.48 761.76"
  98. @PageRegion A4:             "18.0 22.0 573.0 819.0"
  99. @PageRegion A4small:         "28.80 30.24 566.64 811.44"
  100. @PageRegion B5:             "17.28 2.88 481.68 705.60"
  101. @PageRegion Legal:             "64.08 41.76 547.92 966.24"
  102.  
  103. @Comment: PaperDimension gives the total paper size of each option.
  104. @PaperDimension Letter:         "612 792"
  105. @PaperDimension Lettersmall:     "612 792"
  106. @PaperDimension A4:             "595.28 841.89"
  107. @PaperDimension A4small:         "595.28 841.89"
  108. @PaperDimension B5:             "498.90 708.66"
  109. @PaperDimension Legal:             "612 1008"
  110.  
  111. @DefaultOutputOrder: "faceup"
  112.  
  113. @ManualFeed true: "statusdict begin /manualfeed true def end"
  114. @ManualFeed false: "statusdict begin /manualfeed false def end"
  115.  
  116. @DefaultFont: "Courier"
  117. @Font "Times-Roman": "Standard" "(001.000)"
  118. @Font "Times-Bold": "Standard" "(001.000)"
  119. @Font "Times-Italic": "Standard" "(001.000)"
  120. @Font "Times-BoldItalic": "Standard" "(001.000)"
  121. @Font "Helvetica": "Standard" "(001.000)"
  122. @Font "Helvetica-Bold": "Standard" "(001.000)"
  123. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  124. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  125. @Font "Courier": "Standard" "(001.000)"
  126. @Font "Courier-Bold": "Standard" "(001.000)"
  127. @Font "Courier-Oblique": "Standard" "(001.000)"
  128. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  129. @Font "Symbol": "Standard" "(001.000)"
  130. @Font "Palatino-Roman": "Standard" "(001.000)"
  131. @Font "Palatino-Italic": "Standard" "(001.000)"
  132. @Font "Palatino-Bold": "Standard" "(001.000)"
  133. @Font "Palatino-BoldItalic": "Standard" "(001.000)"
  134. @Font "AvantGarde-Book": "Standard" "(001.000)"
  135. @Font "AvantGarde-BookOblique": "Standard" "(001.000)"
  136. @Font "AvantGarde-Demi": "Standard" "(001.000)"
  137. @Font "AvantGarde-DemiOblique": "Standard" "(001.000)"
  138. @Font "Bookman-Light": "Standard" "(001.000)"
  139. @Font "Bookman-LightItalic": "Standard" "(001.000)"
  140. @Font "Bookman-Demi": "Standard" "(001.000)"
  141. @Font "Bookman-DemiItalic": "Standard" "(001.000)"
  142. @Font "Helvetica-Narrow": "Standard" "(001.000)"
  143. @Font "Helvetica-Narrow-Oblique": "Standard" "(001.000)"
  144. @Font "Helvetica-Narrow-Bold": "Standard" "(001.000)"
  145. @Font "Helvetica-Narrow-BoldOblique": "Standard" "(001.000)"
  146. @Font "NewCenturySchlbk-Roman": "Standard" "(001.000)"
  147. @Font "NewCenturySchlbk-Italic": "Standard" "(001.000)"
  148. @Font "NewCenturySchlbk-Bold": "Standard" "(001.000)"
  149. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.000)"
  150. @Font "ZapfChancery-MediumItalic": "Standard" "(001.000)"
  151. @Font "ZapfDingbats": "Standard" "(001.000)"
  152.  
  153.  
  154. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  155. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  156.  
  157. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  158.                 : "Printer “^2” needs attention: paper jam."
  159. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  160.                 : "Printer “^2” needs attention: \Reason\."
  161.  
  162. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  163.                 : "Printer “^2” needs attention: paper jam."
  164. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  165.                 : "Printer “^2” needs attention: \Reason\."
  166.  
  167. @ParameterReason    "no paper tray" :         "no paper tray"
  168. @ParameterReason    "out of paper" :         "out of paper"
  169. @ParameterReason    "cover open" :             "cover open"
  170. @ParameterReason    "warming up" :             "warming up"
  171. @ParameterReason    "service call" :         "service call"
  172. @ParameterReason    "resetting printer" :     "resetting printer"
  173. @ParameterReason    "cover open" :             "cover open"
  174. @ParameterReason    "timeout, clearing printer" : "timeout"
  175. @ParameterReason    "timeout" :             "timeout"
  176. @ParameterReason    "manual feed timeout" :    "manual feed timeout"
  177. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  178.  
  179.  
  180. @Comment: PrinterMessage displays the translation string in the status line.
  181. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  182.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  183. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  184.                 : "Document: \jobname\;  status: \Status\."
  185. @PrinterMessage     "status: \Status\; source: \source\"
  186.                 : "Status: \Status\."
  187. @PrinterMessage     "\Font1\ not found, using \Font2\"
  188.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  189.  
  190. @ParameterStatus     "idle"    : "idle"
  191. @ParameterStatus     "busy"    : "processing job"
  192. @ParameterStatus     "waiting"    : "preparing data"
  193. @ParameterStatus    "printing"    : "printing"
  194.  
  195. @Comment: a null translation string causes no message to display.
  196. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  197.                 : ""
  198. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  199.                 : ""
  200.  
  201. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  202. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  203. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  204.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  205.  
  206. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  207. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  208.                 : "The font being downloaded has not been initialized for this printer."
  209. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  210.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  211. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  212.                 : "The printer had to wait too long, and went on to the next job; try again."
  213. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  214.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  215. @PrinterErrorAlert    "Fatal system error \error\"
  216.                 : "The printer has encountered an error. Simplify your document or try again."
  217.  
  218.  
  219.  
  220.  
  221.  
  222.